package com.qijian.flowable.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qijian.flowable.domain.Matrix;
import com.qijian.flowable.domain.vo.MatrixFieldVo;
import com.qijian.flowable.domain.vo.MatrixVo;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 流程矩阵Mapper接口
 *
 * @author qijian
 * @date 2022-02-08
 */
public interface MatrixMapper extends BaseMapper<Matrix> {

    @Select("select count(0) from t_flowable_matrix WHERE create_time >= CURRENT_DATE ")
    int countCurrentDateWithDel();

    List<MatrixVo> selectVoList();
}
